


//延时action
const delay = store => next =>  action =>{

    if(action.delay){
        setTimeout(function () {
            next(action);
        },action.delay);
        return ;
    }
    return next(action);
};

export default delay;
